Don't initialize GL if it has been disabled
authorMatthias Clasen <mclasen@redhat.com>
Fri, 19 Dec 2014 17:27:31 +0000 (12:27 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 19 Dec 2014 17:27:31 +0000 (12:27 -0500)
commit1dbc6d91f08e28c90bd39ff8a6137b9480c18510
tree693093d46a901a10d36475fff0893a7742f298c0
parentac5ffd847b1a7e744d7922359c1639b795c28908
Don't initialize GL if it has been disabled

We've observed hangs of mutter when it initializes GTK+, which
are caused by initializing GL, which in turn makes xwayland
call back into mutter. With this change, mutter should just
disable GL support in GDK, and things will work.
gdk/x11/gdkglcontext-x11.c